package com.supreme.commonmybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupremeMapper<T> extends BaseMapper<T> {

    @Select("${nativeSql}")
    List<T> nativeSql(@Param("nativeSql") String nativeSql);
}
